package com.siki.dto.user;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.siki.pojo.enumeration.common.PositionCategory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import java.time.LocalDate;

/**
 * @Author Siki
 * @Date 2020/6/6
 */
@ApiModel("用户信息保存DTO")
@Getter
@Setter
@NoArgsConstructor
public class UserInfoSaveDTO {
    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "性别")
    private String userSex;

    @ApiModelProperty(value = "居住地")
    private String address;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "头像url")
    private String avatarUrl;

    @ApiModelProperty(value = "毕业院校")
    private String graduatedSchool;

    @ApiModelProperty(value = "毕业时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDate graduatedDate;

    @ApiModelProperty(value = "所学专业")
    private String profession;

    @ApiModelProperty(value = "学历")
    private String education;

    @ApiModelProperty(value = "职业意向类别")
    private String intention;

    @ApiModelProperty(value = "预期工资")
    private String expectedSalary;

    @ApiModelProperty(value = "预期工作地点")
    private String expectedCity;

    @ApiModelProperty(value = "自我介绍")
    private String selfIntroduction;
}
